package com.dgt.trade.service;

import com.dgt.trade.entitys.User;
import com.dgt.trade.entitys.UserBalance;
import org.apache.ibatis.annotations.Param;

public interface IUserService {
	User getMemberById(long id);
	User getMemberByMobile(String mobile);
	boolean chekMobile(String mobile);
	boolean registerUser(String mobile, String password,String SubAccountID);
	boolean updatePwdbyMobile(String mobile, String newPwd);
	/**
	 * 充值成功调用
	 * @param czdq 充值的钱
	 * @param id 充值账号ID
	 * @return 执行成功失败
	 */
	Boolean iszhifu(Float czdq,Long id);

	Boolean istixian(Float txdz,Long id);

}
